package com.fitness.fitness.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.fitness.modal.user.entity.Role;
import com.fitness.fitness.modal.user.entity.RoleUser;

import java.util.List;

public interface IRoleService extends IService<Role> {
    List<String> getRoleList(Long uid);

    List<Role> allRoles();

    Role getRoleByUid(Long userId);

    Boolean saveRoleUser(RoleUser roleUser);
}
